deployment: Fix gcc `-fanalyzer` warning
authorColin Walters <walters@verbum.org>
Fri, 8 Oct 2021 12:59:52 +0000 (08:59 -0400)
committerColin Walters <walters@verbum.org>
Wed, 13 Oct 2021 21:13:14 +0000 (17:13 -0400)
commit9a7f9c2095a1fe834793978250be402bfb8237f6
tree4c92707ba479456460a0f87817a2df34ef1d6d88
parenta8eed03a1974c285cb7ddf550c7385a4783bb97d
deployment: Fix gcc `-fanalyzer` warning

In general, we're probably going to need to change most of our
`g_return_if_fail` to `g_assert`.  The analyzer flags that
the function can return `NULL`, but the caller isn't prepared for
this.

In practice, let's abort.
src/libostree/ostree-deployment.c